package com.dji.sample.manage.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjt
 * @since 2022-11-09
 */
@TableName("statistics_day_record")
public class StatisticsDayRecordEntity extends Model<StatisticsDayRecordEntity> {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Integer flyCount;

    private Double flyTime;

    private Double flyDistance;

    private String date;

    private Long orgId;

    private String orgCode;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getFlyCount() {
        return flyCount;
    }

    public void setFlyCount(Integer flyCount) {
        this.flyCount = flyCount;
    }

    public Double getFlyTime() {
        return flyTime;
    }

    public void setFlyTime(Double flyTime) {
        this.flyTime = flyTime;
    }

    public Double getFlyDistance() {
        return flyDistance;
    }

    public void setFlyDistance(Double flyDistance) {
        this.flyDistance = flyDistance;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "StatisticsDayRecord{" +
        "id=" + id +
        ", flyCount=" + flyCount +
        ", flyTime=" + flyTime +
        ", flyDistance=" + flyDistance +
        ", date=" + date +
        ", orgId=" + orgId +
        ", orgCode=" + orgCode +
        "}";
    }
}
